import { createI18n } from 'vue-i18n'
import en from './lang/en.js'
import zh from './lang/zh.js'

const i18n = createI18n({
  legacy: false,
  locale: 'zh',
  fallbackLocale: 'zh',
  messages: { en, zh }
})

export default i18n
